﻿using System;
using System.Collections.Generic;
using System.Text;

namespace Ruanmou.Comm.Models
{
    /// <summary>
    /// 用于分页返回数据结果
    /// </summary>
    /// <typeparam name="T"></typeparam>
    public class PageResult<T>
    {
        /// <summary>
        /// 数据总条数
        /// </summary>
        public int TotalCount { get; set; }
        /// <summary>
        /// 当前页
        /// </summary>
        public int PageIndex { get; set; }
        /// <summary>
        /// 每页显示条数
        /// </summary>
        public int PageSize { get; set; }
        /// <summary>
        /// 数据
        /// </summary>
        public IEnumerable<T> DataList { get; set; }
    }
}
